package com.koudai.finance.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 交易信息实体
 * @author: ls
 * @Date: 2020-08-10 17:33:02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Trade {

    @ApiModelProperty(value = "主键Id")
    private Integer id;

    @ApiModelProperty(value = "内部交易流水号")
    private String tradeNo;

    @ApiModelProperty(value = "微信或者支付宝的的交易号")
    private String outTradeNo;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "订单总金额(单位:分)")
    private Long totalFee;

    @ApiModelProperty(value = "1-待支付 2-已支付 3-支付失败")
    private Integer payStatus;

    @ApiModelProperty(value = "是否删除 1-是 0-否")
    private Integer delete;

    @ApiModelProperty(value = "业务字段更新时间")
    private String modTime;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

}